From 8567eb4c32baf1f5eab13e9f3ae6240000b78671 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 1 Jun 2010 07:05:22 +0100 Subject: [PATCH] xend: PoD check should be for HVM domain only. Signed-off-by: Dongxiao Xu --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index e0c539d416..0c01e7779e 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -396,7 +396,7 @@ class XendDomainInfo: maxmem = self.info.get('memory_static_max', 0) memory = self.info.get('memory_dynamic_max', 0) - if maxmem > memory: + if self.info.is_hvm() and maxmem > memory: self.pod_enabled = True else: self.pod_enabled = False -- 2.30.2